<div class="photos">
  <%= render :partial => "photo_set", :object => @photo_set %>
  
  <% if !@photo_sets.empty? %>
    <div class="past_title dark-50">
      <h2 class="light">Recent Photos</h2>
    </div>
    <div class="past_list dark-25">
      <% @photo_sets.each do |photo_set| %>
        <%= link_to(h(photo_set.name), photo_set_url(:canonical_name => photo_set.canonical_name)) %>
        <br/>
      <% end %>
    </div>
  <% end %>
</div>